package com.example.mybatis.service;

import com.example.mybatis.bean.QuestionBan;
import com.example.mybatis.utils.ResultUtil;

public interface QuestionBanService {
    ResultUtil update(QuestionBan questionBan);

    ResultUtil removeById(Integer id);
    ResultUtil getById(Integer id,Integer catalogueId);

    ResultUtil insert(QuestionBan questionBan);

    //ResultUtil selectList(String matter ,String catalogueId);

    ResultUtil selectAll(Integer current, Integer size, String matter, Integer catalogueId);
}
